package com.ysx.teacher.day20210908.extendss.ch01;

public class StudentTest {

    public static void main(String[] args) {
        Student student = new Student();
        // 继承父亲的
        student.eat();

        // 继承爷爷的
        student.hashCode();

    }
}
